package com.wondream.myframework.design_pattern.singleton;

/**
 * 单例模式-静态类实现方式
 */
public class Mgr03 {

    private Mgr03(){}

    private static class Mgr03Holder{
        public static Mgr03 INSTANCE = new Mgr03();
    }

    public static Mgr03 getInstance(){
        return Mgr03Holder.INSTANCE;
    }
}
